package cn.sxt.utils;

import cn.sxt.entities.CommonResult;
import com.alibaba.csp.sentinel.slots.block.BlockException;

/**
 * @author Mxb
 * @version 1.0
 * @date 2020/5/5 13:42
 */
public class CustomerBlockHandler {
    public static CommonResult handleException(BlockException exception) {
        return new CommonResult(44441, "自定义限流处理信息....CustomerBlockHandler-----1");
    }

    public static CommonResult handleException2(BlockException exception) {
        return new CommonResult(44442, "自定义限流处理信息....CustomerBlockHandler------2");
    }
}
